home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / A / AnalyzeCL Utils.sit / CLAnalysis Stacks.sit / User Data / background_2755.txt < prev    next >
Encoding:
Text File  |  1989-05-23  |  9.5 KB  |  482 lines

  1. -- background: 2755 from stack: in
  2. -- bmap block id: 3097
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: User Cards
  6. ----- HyperTalk script -----
  7. on update_cardnum
  8.   repeat with i = 1 to the number of cards in this bg
  9.     put  i into field "CardNum" of card i
  10.   end repeat
  11. end update_cardnum
  12.  
  13. on sortalpha
  14.   global lstfld
  15.   put the number of the target into x
  16.   sort by last word of field x
  17.   put "" into lstfld
  18. end sortalpha
  19.  
  20. on sortnum
  21.   global lstfld
  22.   put the number of the target into lstfld
  23.   sort descending numeric by  field lstfld
  24. end sortnum
  25.  
  26. on sorttime
  27.   global lstfld
  28.   put the number of the target into x
  29.   sort descending datetime by  field x
  30.   put "" into lstfld
  31. end sorttime
  32.  
  33.  
  34. -- part 6 (field)
  35. -- low flags: 01
  36. -- high flags: 4000
  37. -- rect: left=73 top=46 right=67 bottom=279
  38. -- title width / last selected line: 0
  39. -- icon id / first selected line: 0 / 0
  40. -- text alignment: 1
  41. -- font id: 3
  42. -- text size: 12
  43. -- style flags: 0
  44. -- line height: 16
  45. -- part name: Name
  46. ----- HyperTalk script -----
  47. on mouseUp
  48.   sortalpha
  49. end mouseUp
  50.  
  51.  
  52. -- part 8 (button)
  53. -- low flags: 00
  54. -- high flags: 0000
  55. -- rect: left=256 top=298 right=321 bottom=281
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 1013 / 1013
  58. -- text alignment: 1
  59. -- font id: 0
  60. -- text size: 12
  61. -- style flags: 0
  62. -- line height: 16
  63. -- part name: Next
  64. ----- HyperTalk script -----
  65. on mouseUp
  66.   go to next card of this background
  67. end mouseUp
  68.  
  69.  
  70.  
  71. -- part 9 (button)
  72. -- low flags: 00
  73. -- high flags: 0000
  74. -- rect: left=228 top=298 right=321 bottom=254
  75. -- title width / last selected line: 0
  76. -- icon id / first selected line: 1014 / 1014
  77. -- text alignment: 1
  78. -- font id: 0
  79. -- text size: 12
  80. -- style flags: 0
  81. -- line height: 16
  82. -- part name: Prev
  83. ----- HyperTalk script -----
  84. on mouseUp
  85.   go to prev card of this background
  86. end mouseUp
  87.  
  88.  
  89.  
  90. -- part 24 (field)
  91. -- low flags: 01
  92. -- high flags: 0000
  93. -- rect: left=427 top=43 right=61 bottom=465
  94. -- title width / last selected line: 0
  95. -- icon id / first selected line: 0 / 0
  96. -- text alignment: 1
  97. -- font id: 3
  98. -- text size: 12
  99. -- style flags: 0
  100. -- line height: 16
  101. -- part name: Inactivity Logoffs
  102. ----- HyperTalk script -----
  103. on mouseUp
  104.   sortnum
  105. end mouseUp
  106.  
  107.  
  108. -- part 25 (field)
  109. -- low flags: 01
  110. -- high flags: 0000
  111. -- rect: left=427 top=67 right=85 bottom=465
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 0 / 0
  114. -- text alignment: 1
  115. -- font id: 3
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: Dropped Carrier
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   sortnum
  123. end mouseUp
  124.  
  125.  
  126. -- part 26 (field)
  127. -- low flags: 01
  128. -- high flags: 0000
  129. -- rect: left=427 top=91 right=109 bottom=465
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 1
  133. -- font id: 3
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: Time Limit Expired
  138. ----- HyperTalk script -----
  139. on mouseUp
  140.   sortnum
  141. end mouseUp
  142.  
  143.  
  144. -- part 29 (button)
  145. -- low flags: 00
  146. -- high flags: 0000
  147. -- rect: left=328 top=298 right=321 bottom=353
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 26865 / 26865
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: Next
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   go to last card of this background
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 32 (button)
  164. -- low flags: 00
  165. -- high flags: 0000
  166. -- rect: left=168 top=298 right=321 bottom=193
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 30557 / 30557
  169. -- text alignment: 1
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: Next
  175. ----- HyperTalk script -----
  176. on mouseUp
  177.   go to first card of this background
  178. end mouseUp
  179.  
  180.  
  181.  
  182. -- part 34 (button)
  183. -- low flags: 00
  184. -- high flags: 8003
  185. -- rect: left=62 top=6 right=24 bottom=169
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 0 / 0
  188. -- text alignment: 1
  189. -- font id: 0
  190. -- text size: 12
  191. -- style flags: 0
  192. -- line height: 16
  193. -- part name: Load Data
  194. ----- HyperTalk script -----
  195. on mouseUp
  196.   global newdata
  197.   delecards
  198.   readfile "User Stats"
  199. end mouseUp
  200.  
  201.  
  202.  
  203. -- part 35 (button)
  204. -- low flags: 00
  205. -- high flags: 8003
  206. -- rect: left=335 top=6 right=24 bottom=442
  207. -- title width / last selected line: 0
  208. -- icon id / first selected line: 0 / 0
  209. -- text alignment: 1
  210. -- font id: 0
  211. -- text size: 12
  212. -- style flags: 0
  213. -- line height: 16
  214. -- part name: Delete Cards
  215. ----- HyperTalk script -----
  216. on mouseUp
  217.   global newdata
  218.   delecards
  219. end mouseUp
  220.  
  221.  
  222.  
  223. -- part 23 (field)
  224. -- low flags: 01
  225. -- high flags: 4000
  226. -- rect: left=113 top=88 right=106 bottom=183
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 3
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: Connect Time
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   sorttime
  238. end mouseUp
  239.  
  240.  
  241. -- part 46 (field)
  242. -- low flags: 01
  243. -- high flags: 4000
  244. -- rect: left=90 top=196 right=214 bottom=199
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 0 / 0
  247. -- text alignment: 1
  248. -- font id: 3
  249. -- text size: 12
  250. -- style flags: 0
  251. -- line height: 16
  252. -- part name: Last Call
  253. ----- HyperTalk script -----
  254. on mouseUp
  255.   sorttime
  256. end mouseUp
  257.  
  258.  
  259. -- part 39 (field)
  260. -- low flags: 01
  261. -- high flags: 4000
  262. -- rect: left=30 top=88 right=106 bottom=72
  263. -- title width / last selected line: 0
  264. -- icon id / first selected line: 0 / 0
  265. -- text alignment: 1
  266. -- font id: 3
  267. -- text size: 12
  268. -- style flags: 0
  269. -- line height: 16
  270. -- part name: Logins
  271. ----- HyperTalk script -----
  272. on mouseUp
  273.   sortnum
  274. end mouseUp
  275.  
  276.  
  277. -- part 41 (field)
  278. -- low flags: 01
  279. -- high flags: 4000
  280. -- rect: left=69 top=148 right=166 bottom=103
  281. -- title width / last selected line: 0
  282. -- icon id / first selected line: 0 / 0
  283. -- text alignment: 1
  284. -- font id: 3
  285. -- text size: 12
  286. -- style flags: 0
  287. -- line height: 16
  288. -- part name: Menu1
  289. ----- HyperTalk script -----
  290. on mouseUp
  291.   sortnum
  292. end mouseUp
  293.  
  294.  
  295. -- part 44 (field)
  296. -- low flags: 01
  297. -- high flags: 4000
  298. -- rect: left=131 top=148 right=166 bottom=165
  299. -- title width / last selected line: 0
  300. -- icon id / first selected line: 0 / 0
  301. -- text alignment: 1
  302. -- font id: 3
  303. -- text size: 12
  304. -- style flags: 0
  305. -- line height: 16
  306. -- part name: Menu2
  307. ----- HyperTalk script -----
  308. on mouseUp
  309.   sortnum
  310. end mouseUp
  311.  
  312.  
  313. -- part 45 (field)
  314. -- low flags: 01
  315. -- high flags: 4000
  316. -- rect: left=197 top=148 right=166 bottom=231
  317. -- title width / last selected line: 0
  318. -- icon id / first selected line: 0 / 0
  319. -- text alignment: 1
  320. -- font id: 3
  321. -- text size: 12
  322. -- style flags: 0
  323. -- line height: 16
  324. -- part name: Menu3
  325. ----- HyperTalk script -----
  326. on mouseUp
  327.   sortnum
  328. end mouseUp
  329.  
  330.  
  331. -- part 40 (field)
  332. -- low flags: 01
  333. -- high flags: 4000
  334. -- rect: left=221 top=88 right=106 bottom=274
  335. -- title width / last selected line: 0
  336. -- icon id / first selected line: 0 / 0
  337. -- text alignment: 1
  338. -- font id: 3
  339. -- text size: 12
  340. -- style flags: 0
  341. -- line height: 16
  342. -- part name: Avg. Call
  343. ----- HyperTalk script -----
  344. on mouseUp
  345.   sorttime
  346. end mouseUp
  347.  
  348.  
  349. -- part 48 (field)
  350. -- low flags: 01
  351. -- high flags: 4000
  352. -- rect: left=424 top=155 right=173 bottom=462
  353. -- title width / last selected line: 0
  354. -- icon id / first selected line: 0 / 0
  355. -- text alignment: 1
  356. -- font id: 3
  357. -- text size: 12
  358. -- style flags: 0
  359. -- line height: 16
  360. -- part name: Private Messages
  361. ----- HyperTalk script -----
  362. on mouseUp
  363.   sortnum
  364. end mouseUp
  365.  
  366.  
  367. -- part 47 (field)
  368. -- low flags: 01
  369. -- high flags: 4000
  370. -- rect: left=423 top=129 right=147 bottom=461
  371. -- title width / last selected line: 0
  372. -- icon id / first selected line: 0 / 0
  373. -- text alignment: 1
  374. -- font id: 3
  375. -- text size: 12
  376. -- style flags: 0
  377. -- line height: 16
  378. -- part name: Public Messages
  379. ----- HyperTalk script -----
  380. on mouseUp
  381.   sortnum
  382. end mouseUp
  383.  
  384.  
  385. -- part 49 (field)
  386. -- low flags: 01
  387. -- high flags: 4000
  388. -- rect: left=424 top=181 right=199 bottom=462
  389. -- title width / last selected line: 0
  390. -- icon id / first selected line: 0 / 0
  391. -- text alignment: 1
  392. -- font id: 3
  393. -- text size: 12
  394. -- style flags: 0
  395. -- line height: 16
  396. -- part name: Downloads
  397. ----- HyperTalk script -----
  398. on mouseUp
  399.   sortnum
  400. end mouseUp
  401.  
  402.  
  403.  
  404. -- part 50 (field)
  405. -- low flags: 01
  406. -- high flags: 4000
  407. -- rect: left=424 top=207 right=225 bottom=462
  408. -- title width / last selected line: 0
  409. -- icon id / first selected line: 0 / 0
  410. -- text alignment: 1
  411. -- font id: 3
  412. -- text size: 12
  413. -- style flags: 0
  414. -- line height: 16
  415. -- part name: Uploads
  416. ----- HyperTalk script -----
  417. on mouseUp
  418.   sortnum
  419. end mouseUp
  420.  
  421.  
  422. -- part 51 (field)
  423. -- low flags: 01
  424. -- high flags: 4000
  425. -- rect: left=424 top=233 right=251 bottom=462
  426. -- title width / last selected line: 0
  427. -- icon id / first selected line: 0 / 0
  428. -- text alignment: 1
  429. -- font id: 3
  430. -- text size: 12
  431. -- style flags: 0
  432. -- line height: 16
  433. -- part name: Text Files Read
  434. ----- HyperTalk script -----
  435. on mouseUp
  436.   sortnum
  437. end mouseUp
  438.  
  439.  
  440. -- part 52 (field)
  441. -- low flags: 01
  442. -- high flags: 0000
  443. -- rect: left=18 top=298 right=319 bottom=47
  444. -- title width / last selected line: 0
  445. -- icon id / first selected line: 0 / 0
  446. -- text alignment: 1
  447. -- font id: 3
  448. -- text size: 12
  449. -- style flags: 256
  450. -- line height: 16
  451. -- part name: CardNum
  452. ----- HyperTalk script -----
  453. on mouseUp
  454.   update_cardnum
  455. end mouseUp
  456.  
  457.  
  458. -- part 53 (button)
  459. -- low flags: 00
  460. -- high flags: 0000
  461. -- rect: left=383 top=301 right=319 bottom=409
  462. -- title width / last selected line: 0
  463. -- icon id / first selected line: 0 / 0
  464. -- text alignment: 1
  465. -- font id: 0
  466. -- text size: 12
  467. -- style flags: 0
  468. -- line height: 16
  469. -- part name: Graph
  470. ----- HyperTalk script -----
  471. on mouseUp
  472.   global lstfld, fldname
  473.   if lstfld <> ""
  474.   then
  475.   put the short name of field lstfld into fldname
  476.   go to background "Graph"
  477. else
  478.   answer "Click on a numeric field first!" with "OK"
  479. end if
  480. end mouseUp
  481.  
  482.